Add natural-language component rerank service#2321
Merged
Conversation
🎩 PreviewA preview build has been created at: |
This was referenced May 27, 2026
Collaborator
Author
This was referenced May 27, 2026
582c2ef to
6b1d4bc
Compare
38b163d to
bb24190
Compare
6b1d4bc to
0213639
Compare
8 tasks
bb24190 to
839c5d2
Compare
ef8749f to
efd1f59
Compare
496907a to
718a81a
Compare
169a2f7 to
f392c3b
Compare
718a81a to
a07cc76
Compare
926598b to
94b985d
Compare
254c824 to
0417a6f
Compare
94b985d to
cca8f22
Compare
8e168da to
f5acd71
Compare
cca8f22 to
b7a79fc
Compare
8 tasks
morgan-wowk
reviewed
Jun 4, 2026
morgan-wowk
left a comment
There was a problem hiding this comment.
🤖 AI-assisted review — one non-blocking prompt-hardening follow-up.
b7a79fc to
cc1eec6
Compare
f5acd71 to
6ade827
Compare
cc1eec6 to
6de727b
Compare
6ade827 to
25768e9
Compare
camielvs
reviewed
Jun 4, 2026
camielvs
reviewed
Jun 4, 2026
camielvs
reviewed
Jun 4, 2026
camielvs
reviewed
Jun 4, 2026
camielvs
reviewed
Jun 4, 2026
25768e9 to
8cc6ede
Compare
6de727b to
707a92c
Compare
8cc6ede to
a2ec331
Compare
707a92c to
1959604
Compare
morgan-wowk
approved these changes
Jun 5, 2026
Collaborator
Author
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
304d368 to
e12b15a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Tophatting
No manual tophatting required. This PR only adds the rerank service and unit tests; UI wiring comes later.
What changed
Adds the service that asks an LLM to rerank existing component search results.
Important behavior:
Why
This makes natural-language search better without making the model responsible for retrieval.
Test plan
pnpm exec vitest run src/services/naturalLanguageComponentSearchService.test.tspnpm run typecheck --pretty falsefetch